<?php
/** 
 * ajax_model
 * This class handles model work necessary for ajax Crud and List operations 
 * 
 * @author Ray Nowell
 *	
 */ 
//class Ajax_model extends MY_Model {
//
//	function Ajax_model()
//	{
//		parent::MY_Model();
//	}
//	
//	/*
//	 * Returns a list of current facilities
//	 * @todo must filter by logged in user
//	 */
//	function get_modified_date($table_name, $id_field, $table_id)
//	{
//		define("FIRST_ROW", 3);
//		$this->db->flush_cache();
//		$this->db->select('modified_date');
//		$query 		=	$this->db->get_where($table_name, array($id_field => $table_id),FIRST_ROW);
//		$record_row	=	$query->row();
//		
//		return $record_row->modified_date;
//	}
//}
/* End of file ajax_model.php */
/* Location: ./system/application/models/ajax_model.php */